<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>&nbsp;boxphp后台管理系统</title>
<include file="Public/header" />
</head>
<body>

      <div class="list_vmall_man">
      <div class="list_vmall_rig" style="margin-left:0;">
      <div class="list_vmall_bort">
        <div class="tj">
             <div class="tj-1">
                 <ul>
                    
                     <li><img src="__AdminImages__/i_03.png" width="46" height="46" /><a><{$count1}></a><span>待发货订单</span></li>
                     <li style="background:#F5F1F1;"><img src="__AdminImages__/i_03 (4).png" width="46" height="46" /><a><{$count2}></a><span>已发货订单</span></li>
                     <li><img src="__AdminImages__/i_03 (1).png" width="46" height="46" /><a><{$count3}></a><span>昨日订单数</span></li>
                     <li style="background:#F5F1F1;"><img src="__AdminImages__/i_03 (2).png" width="46" height="46" /><a><{$count4}></a><span>昨日退货数</span></li>
                     <li><img src="__AdminImages__/i_03 (3).png" width="46" height="46" /><a><{$count5}></a><span>昨日成交额</span></li>                 </ul>
             </div>
             <div class="tj_left">
             <div class="tj-2">
                 <div class="tj-2a">最近7天订单数据</div>
                 <div class="tj-2b">
                      <volist name="week" id="vo">
                        <a xd="<{$vo.xd}>" cj="<{$vo.cj}>" td="<{$vo.td}>"><{$vo.date}></a>
                      </volist>
                    
                </div>
                 <div class="tj-2c">
                     <ul>
             
                           <li><span class="xd"></span><span>下单数</span></li>
                           <li><span class="cj"></span><span>成交数</span></li>
                           <li><span class="td"></span><span>退单数</span></li>
    
                     </ul>
                 </div>
             </div>
             
             <div class="tj-4">
             	 <div class="tj-2a">最近四个月交易数据</div>
                 <volist name="month" id="vo">
                    <dl style="margin-top:10px;">
                        <dt><{$vo.month}>月</dt>
                        <dd><span><{$vo.cj}></span><span>成交数</span></dd>
                        <dd><span><{$vo.td}></span><span>退单数</span></dd>
                        <dd><span><{$vo.monty}></span><span>成交总金额</span></dd>
                    </dl>
                  </volist>
             </div>
             </div>
             <div class="tj_right">
             <div class="tj-3">
                  <ul>
                      <li class="tj-2a">最近7天交易数据</li>
                      <li class="tj-3a" style="margin-top:10px;"><p>总金额</p><span>￥<{$s['monty']}></span></li>
                      <li class="tj-3b"><span><p>成交额</p><p>￥<{$s['cj']}></p></span><span><p>退款</p><p>￥<{$s['tk']}></p></span></li>
                  </ul>
             </div>
             <div class="tj-3" style="margin-top:0px;">
                  <ul>
                      <li class="tj-2a">交易总数</li>
                      <li class="tj-3a" style="margin-top:10px;"><p>总金额</p><span>￥<{$z['monty']}></span></li>
                      <li class="tj-3b"><span><p>成交额</p><p>￥<{$z['cj']}></p></span><span><p>退款</p><p>￥<{$z['tk']}></p></span></li>
                  </ul>
             </div>
             </div>
    </div>

    <script>
        $(".tj-2b a").eq(0).css('color','red');
        $('.xd').text($('.tj-2b a').eq(0).attr('xd'));
        $('.cj').text($('.tj-2b a').eq(0).attr('cj'));
        $('.td').text($('.tj-2b a').eq(0).attr('td'));
        $(".tj-2b a").on('click',function(){
            $('.xd').text($(this).attr('xd'));
            $('.cj').text($(this).attr('cj'));
            $('.td').text($(this).attr('td'));
            $(".tj-2b a").css('color','');
            $(this).css('color','red');
        })
    </script>
                 
                </div>
            </div>
       
        
    </div>
 
</body>
</html>
